package com.internetCafes.spms.web.sys.service;

import com.internetCafes.spms.core.model.pageModel.DataGrid;
import com.internetCafes.spms.web.sys.model.EducationArticleInfo;
import com.internetCafes.spms.web.sys.model.PolicyInfo;

import java.util.Map;

/**
 * @author LinYe
 * @date 2020/10/29
 */
public interface PolicyInfoService {
    DataGrid dataGrid(Map<String, Object> params, int pageNo, int pageSize);

    int savePolicy(PolicyInfo policyInfo);

    int deletePolicy(Long id);

    int updatePolicy(PolicyInfo policyInfo);

    PolicyInfo getPolicyDetail(Long id);
}
